fixed persistence test