Added the sort by timestamp tests.