Fix TestPlugin test failure; updating cwd.