added a test for what we actually wanted to test for pr #4259