Fix test to have less random result