test: add exec mock for deploy tests to improve isolation