Refactor source tests to use test util helper.
Merge branch 'streamingupload' of github.com:mapbox/tm2 into streamingupload