fixed activity deleting test case