finally managed to resolve the mocha issue of not running the same test file in second test run, added code to remove the file from the require.cache prior to running mocha
merge
Merge branch 'master' of github.com:iainjmitchell/sentinaught