Refactor some ensure_length_of_matcher_specs to remove duplidation

Moved translation specs into a context with a common after block