Changed tests for export_to_json