Test case for PAXEXAM-492

Added a test case for regression of [PAXEXAM-492](http://team.ops4j.org/browse/PAXEXAM-492)