Remove unused variable.
Tweaking tests because of random CI failures.