new function for testing tar files better
add tests for the tar files