Fix eunit test cleanup