Testing 'contains' with string as curried argument