cleanup in eunit tests