Fix a bug with one of the tests which was causing infinite recursion