Fixed errors appearing in "File" test case