added test for mix with indices