Change assertEquals to assertIsNone

Some tests were using assertEquals where they should have used
assertIsNone. assertEquals doesn't distinguish False from None.

Change-Id: Id7dc1075fbaaa9a6dbff5b05ab587df39c79c180