common/tar: move tests under common