Add basic tests for the tarball generator

Change-Id: Ie2be5e54e930a65b2ba0ffe8a47ecaf696436ec3