Fix attribute name in plugin tests
Repair test of plugin iterator