Add test:dist target and enable (with errors) in CI.