A little more tests regarding addFile
Added missing semicolon
Fixed a mistake in the test