added a test for #41