Fix unit test so it runs predictably