Implements restaurant sort by tests