correct unit test code
correct write error