Added some rudimentary tests
String replacement fixes with response.