Added new tests to check if path correct and file exist