Why do you use `is` everywhere? Use `==` instead. It's surprising that tests like that pass at all.