Use '==' for assertions against true and false

This fixes tests breaking with non-monkey-patched 'true' and 'false' objects.