Rewrote test for #380, to test expected behavior