eliminated document.go error, added attr_test and attr_list_test