added unit test for previous commit