Fix broken symfony tests

This patch fix cache in some cases. For example one test in symfony plugin