Fixed unstable tests.