Fix bug in function signature

Fixes E118: Too many arguments for function: TestForTheOtherWindow