Test applying an empty file