fixed tests failing due to persistence