Fix assertions that couldn't have failed

I ran the tests, and got warnings about these - they were actually doing `assert (expression, message)`, but that winds up treating `(expression, message)` as a 2-tuple, which will always booleate to True. So the assertions would never have failed.