separate test targets for unit and API tests; added mocha, shelljs as dev dependencies