Add test with empty file and make it pass