Improve coverage of attribute? methods