Add failing test for setting attr to undefined