Made persistence tests order independent