Ported boolean tests