test: add tests for files