Added public callbacks, and changed return type of typedefs to Result in TestEngine.h