JBIDE-15548 - Use JUnit @Rules instead of inheritance in test cases