Add file refresh functional tests
We are not testing refresh enough, which would have caught #89 (closed) AFAICS.
I'm not sure what the best way is, but worst case we just run the usual tests and trigger a manual refresh task. This is probably easier than to update the actual modification time on the file system :)