add some test about attribute