fixed the unit test for PerformWork