meck test for cover enoent error