I think I might have fixed something.
And all of a sudden the tests are passing