Add test for handling of unique indexes

Test that both string and array unique-index descriptors are converted
to non-unique for the generated tables.