Fix stats retrieval and test DB environments
This merge request fixes both issues found in #108 (closed).
The stats retrieval no tries to retrieve the data such that cgroup V1 data can be used or fallback to something else for V2.
It also updates the prefix in order to ensure the use of the same database environment that the one pulled at the start of the tests.
Fixes #108 (closed)