added 'expectTheseRequests' helper method to server test helper.
It checks whether a set of requests was received without worrying about particular inner order (but still making sure that there weren't any other requests before them in the queue)
fixed sync request test that failed randomly for me (as specific order of keys in a directory listing is hard to foresee)