Seems like if apt-get is used, mocha doesn't get installed