@@ -0,0 +1,788 @@
+import json%0Afrom indra.literature.dart_client import jsonify_query_data%0A%0A%0Adef test_timestamp():%0A    # Should ignore %22after%22%0A    assert jsonify_query_data(timestamp=%7B'on': '2020-01-01',%0A                                         'after': '2020-01-02'%7D) == %5C%0A        json.dumps(%7B%22timestamp%22: %7B%22on%22: %222020-01-01%22%7D%7D)%0A    assert jsonify_query_data(timestamp=%7B'after': '2020-01-01',%0A                                         'before': '2020-01-05'%7D) == %5C%0A        json.dumps(%0A            %7B'timestamp': %7B'after': '2020-01-01', 'before': '2020-01-05'%7D%7D)%0A%0A%0Adef test_lists():%0A    # Check lists, ignore the lists that have non-str objects%0A    assert jsonify_query_data(readers=%5B'hume', 123456%5D,%0A                              versions=%5B'123', '456'%5D) ==%5C%0A        json.dumps(%7B'versions': %5B'123', '456'%5D%7D)%0A

Add two tests for dart client