This is a followup to #EZP-20057 and #EZP-20093.
Mainly make sure unit tests does not pull in dependencies via DIC or rely on Legacy Kernel, mock instead.
If some of the changed tests should be covered by integration tests, list them up in a issue.