bug fixes
included fs.extra
added tests for lib/plugins