Fix two broken tests due to remove of debug statements