Refactor for example test validation.