Fix boolean tests.