fixed callback unit test