I originally thought  you meant the unit test class. Arquillian sounds like a good idea. I'll have a look.