Updated test so it returns HTML entities