base test class