Fix randomly failing tests.
Fix randomly failing tests.

jails/lithium,graphis/lithium,SensCritique/lithium,SensCritique/lithium,mehlah/lithium,whowgames/lithium,graphis/lithium,whowgames/lithium,jails/lithium,m4rcsch/lithium-core-library,datachand/lithium,davidpersson/lithium,mehlah/lithium,wbeater/lithium,UnionOfRAD/lithium,pixelcog/lithium,muyehub/lithium,m4rcsch/lithium-core-library,wbeater/lithium,muyehub/lithium,davidpersson/lithium,datachand/lithium,UnionOfRAD/lithium,pixelcog/lithium