TST: a few changes like self.assertTrue(x == y, message) -> assert_equal(x, y)

Upgrade the syntax of a few assertions.