Add integration tests for mysql resource.