attempts fix for attribute removal spec on travis