Make test more lenient by using 'contains'

Also add a reason for failure