Add ability to expect responses in any order.
Tests for downloading with sources, flat and regular repos.