rewrite this test to use response

rather than a big String.Contains on the returned html