adds spec directory and test.js