added persistence test