Add unit test for fileChecker