Testing 'contains' with boolean values