Use auto for iterator testing