Fix boolean tests