moved tests to testsuite
handle disabled persistence