removes unused injected bean in integration tests