[FrameworkBundle] Fix tests - No need to use mocks to create a service container