added a test for #87