test: added test for genericAttr