Tests with files