finish mocha constraints tests