Implementation of boolean comparison operations. All tests now finally pass again.