Basic test infrastructure for persistence