Unit tests to check adding of zero sized files and disallowing of negative file sizes. Removed an unused argument 'protocol'.
Unit tests to check adding of zero sized files and disallowing of negative file sizes.
Removed an unused argument 'protocol'.

pansapiens/mytardis,pansapiens/mytardis,pansapiens/mytardis,pansapiens/mytardis