Finalization of test engine code