added tests in engine, improved code coverage by approximately 1
nano-test