Return BC compatibility for DI Container
When setting service to `null` it's considered as existing instead of removed/reset state.
This PR returns BC compatibility and provides test to ensure that BC is hold.