unit test error fix