Testing imageindex.