Test improvements.

I added a test that downloads artifacts into a temporary repo to make it easier
to test proxy business.