improve the unit test and some other posts

Signed-off-by: Qu Xiaofeng <quxiaofeng.at.polyu@gmail.com>