Fix misuse of `is` in tests.