added a test while investigating issue #7

issue #7 turned out not to require any code changes, but I wrote a new test while investigating, so never hurts to include another test.