Respond with a 404 when attempting to DELETE a file that does not exist.
Refactor ShareTest.