Make unittests for jump-to-def work when jumping to a new file.

Register a fake FILE_OPEN command with the command manager, since that's what the jump-to-def code will call to switch files.