Added XSS defense to test file.