Add test_random_parameters.py to verify correctness of derpibooru.sort