Please test the new `orderBy` and `limit` arguments. Generally, I feel our db model is undertested. I recommend that we add more tests for all functions in the long run, because it is used extensively throughout the codebase. For now, please test the things you edit/add.