some controller mocha tests