Unit tests tables that contain more indices

Do not check them yet. Just ensure that the sql code doesen't fail.