docker: move the test part in another Dockerfile