That's not quite what I meant.
I mean only the code required to test the two pins, very minimal.
It can be seen from the hex disassembly if the bank switching is happening or not.
It only makes things more difficult if all the rest of your code is in it as well.

The three nop instructions are there because they compile straight to the same thing
in assembler prior to compile to hex, so when the hex file is disassembled, the
PULSIN instruction disassembly are present with three nops separating each of them.
Then it is clear, the difference between the two disassembled PULSIN commands.

That could rule out, or confirm that bank switching is happening.