Create some tests for uploading a torrent

Failing because upload triggering is done by javascript.Have to investigate how to test this properly
More tests for torrent crud