add test for .tar.bz2
refactor tests
extract .tar.bz2s