Chuan/Chris - added tests for sorting by date, upvotes, and image.