Added basic persistence test