'Helper function.
Test response for 200 status code. Also test if response body
contains event/service name.'

def _test_path(self, path, *strings):

    with app.test_request_context():
        response = self.app.get(path, follow_redirects=True)
        self.assertEqual(response.status_code, 200)
        for string in strings:
            self.assertIn(string, response.data)
