add some eunit tests