Added json format to test