bug fix to solve issue when test order random