added unit test for #10