Add sbt-dist-plugin to generate a TC artifact
Fix tests