Lightly refactor dispatcher tests

We had multiple redundant check_* helpers.