Modifying has_attr test was a mistake