tests/migration: Add a test for validate-uuid capability