fix eunit tests