Fixed random failing test