boolean test fix