update article error and adding test go code