Adjust test to use String filename constructor instead of File.