Add a test about the isfile function

See issue #19