Fix tests

Fixed tests namespaces
Added tests for engine halt