Added testing for file/folder equality.

Also cleaned up existing FileStoreHelper test to use FileStore methods.
Adding tests for overwriting behaviour in filestore.
Consolidating existence checks for files and folders.