Adds a test that confirms bug #427