ISPN-4784 TestResourceTracker not working properly for OSGi tests

https://issues.jboss.org/browse/ISPN-4784