Attributes: fix failing test for new return value