jsDAV commented that empty files could be a problem so added tests for those.