Created a base class for test cases