test: helper to run a test in docker

Signed-off-by: Loic Dachary <loic-201408@dachary.org>