add Eunit tests