defines Test class