objectify the sample and changed test case