Test class for individual functions