small change to test_mongo -- now using explict ordering of JSON dict to list
proper cleanup of temporary sqlite database