And when I want to display each attribute, I use {$test.object.data_map.NAMEOFYOURATTRIBUTE.content}
But anyway, if you want to display an attribute of your class, you should use {$test:item.data_map.NAMEOFYOURATTRIBUTE.content). Or by using {attribute_view_gui attribute=$test:item.data_map.YOURATTRIBUTE}