adds test command and test, uses process.cwd()