Finish filesystem assetstore unit tests

They uncovered a bug already, I had forgotten to add the logic
of only deleting the file from disk if there are no duplicates.