global: fix for regression tests

* Addresses mostly issues with imports.

* Note: There are still many tests failing.

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>