1. add some eunit test code