Initialize and refactor deprecated tests to use pytest
This will allow to remove the base tests scaffolding in core.
Related to T2462