Fix purging tests.