Add a unit test to guarantee this behavior