Adapt test Dockerfile to the new registry image

After the /Dockerfile cleanup, /test/Dockerfile stop having some dependencies, which this PR includes.