added checks to run-tests

Related to PR 13936.
fix macro-stepper tests