add a test for the previous fix