Adding boolean tests