modified secondary_indexes_tests for lists/maps