Test class methods