Fix tests failing on API nuance and data change

* list output not guaranteed to be sorted a particular way, but tests assumed this
* time filtering was using incorrect parameter, now works, for test stability
* a country had been popped out of the dataset being targeted in tests
Reordering and reformatting by devtools