fix(qa/engine-it): harden engine integration tests from dirty db conditions