Remove some unnecessary assertions causing problems in our tests.