Added unit test for #15.