Test the attributes the way they will actually be used rather than creating and inspecting them yourself.