Fix/run test

Seems like last commit broke running tests. Changed the require in `test/common.js` for that.