3 test conditions, using multiple booleans