fixed corruputed unit test