test assert use getFileStatus for path