add some Files methods test.

Signed-off-by: Flycoding <Flycoding@yeah.net>