Add test if no attr is defined