fixed random failing test