also test for existence of attribute name if by_not_attribute is called with only one variable