tests: add a testcase for File.time