Fixed #20449 - Altering CWD for one of the tests

This is fix for Trac ticket no. 20449, which caused test runner issues for when the command was run from different directory. Now the current working directory is changed for this single test, as proposed in the original ticket.