Tar testing

Cleaned up imports and implemented Tar tests.