gpm: use full path of executable, use assertion to test output