Extract the base test class into a separate file