port config tests to opmock