Added mocha tests and fixed a bug with addEngine() being called before zonePressure was set