Refactoring test suites