fixed tests that failed with enabled persistence