wip before reorg of fsutil_test.coffee
fix tests and add promise test