Introduced abstract test class and refactored concrete classes accordingly