Changed template test to use runtime-created file with weird permission