Fix doctrine cache while testing.