Simplified boolean testing