Fixes random failing test