adds a test for #80