added unit test for fix