Fix unit tests

New tornado does not require gen_test when testing the engine.