Write More Testcases

tests for addFile()
tests for calculateFileSignature()