updates tests from test_attrs.py to latest changes