https://issues.jboss.org/browse/JBPAPP-10985 fixing race on the test