improved and repaired unit tests; Engine class added in stubbed form.