Code based on Arquillian guide (Getting Started: Rinse and Repeat, by Dan Allen, Aug 2012)