update description
refactoring testcases
reset the global object