fix the github tests

That assertIsNone method simply didn't exist.

My replacement is equivalent or better, especially since it actually runs without crashing.