Adding support mock_run and stubs.