Test that we do purge and delete artifacts

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>