test-app: better way to find the correct windowid