This file is not currently used in any tests, but could be, so replace corrupt version with a useful one.
And add new test case for this.