Reduced code duplication in tests AppKernel

Conflicts:
	src/Elcodi/ReferralProgramBundle/Tests/Functional/app/AppKernel.php