replaced equal true/false tests with ok tests