add some tests for local.dir
Merge pull request #11 from ForbesLindesay/basic-tests

add some tests for local.dir