add back mocha test. change to jasmine when time avail