Tests (+ 2 bugfixes) for OpenQA::File