Test that modified files are published correctly