Updated site tests

Newer libraries generate slightly different output, with newlines before the final </html> tags as one example. Updated tests that broke due to these differences by moving from assert_equal to assert_match, using regex matching instead of canonical equality. This should ensure that tests pass with older as well as newer libraries.