Added tests for file hashing.