converting rendertest to a kind of first version of engine