Specifiy interface with mocha