added a test helper for booleans