Fix unit tests

This patchset fixes the unit test build and also adds a few tests for the jump command.

I think we should really try to keep those tests working, because having a reliable