Make randomly failing test less likely to fail

fixes #1746 on github