ticket:13 Added tests for sorting requests