Followed David's suggestions, replaced urllib2 with requests, and added a run_opendata_tests command to the Makefile