Fix test, and add work with unknow attribute