test file structure and environment