tests persistance