modified Test class