Fix test, make repeatable