added test for the JSON renderer