Move validation tests into before_script