More tests

This adds more tests, in particular upload tests.

It includes tests & a fix (b78fa08f) for put() with a list of files, closes #41.