Test attribute values are correct if __init__ succeeds