test class method format