Add new test for determination of file handling