Refactoring design pattern unit tests to conform to JUnit4.x's annotation approach.