I don't think its necessary to test for different types of objects which may be assigned to the value in the attributes dictionary, but that's just me i.e. the above test (test_one_extra) is good enough.