Basically you will have the following code in your setup
Make sure you call
// Shutdown
EJB container
EJB3StandaloneBootstrap.shutdown();
When you are done with the test.
The some-beans.xml looks something like this. The name of the file should be in the format of XXX-beans.xml
So now you can do code that gets and calls EJBs like so
HTH
Mark