in reply to EJB client

Inline::Java may help.

But I would say that your concern is misplaced. Testing is a well studied thing in the Java world. Plus there are plenty of people who will give you advice on it.