Added tests for fetch_json and read methods.