move engine tests to root engine dir and fix tests makefile