Add tests for mysql PRIMARY and UNIQUE indexes

Change-Id: I8230aca62bd47982e9e08b6924f22e6d3012a9e1
Merge "Add tests for mysql PRIMARY and UNIQUE indexes"