changed the test to expect correct JSON String