Fix failing test case for `validate` option