modify test doc
=====================
test all functions in base.js