test file structure using unittest