Adds a test that confirms bug #427

Confirms the bug found in #427 and was fixed in #428.
I've run the test before #428 was applied to confirm the test failed, and after #428 to confirm the bug was fixed