TESTS for #547

if you make a change, you should make tests!