added unit tests for issue 53