Fix .pe tests to use relative paths and command-line args