Fix off by one index error in tests.

The index should start at 0, this is just a small bug in the test that is hidden by the lack of input validation in the Editor and the current implementation of getCleanFile/getDirtyFile.