Replace some == with is in test_bdd