test engine theory