Got some tests running programmatically. Beware of stateful mocha tests. Needs investigation.