added test for issue #10