Replace Using Regex Python Tester Code