tests: move test_lazy_prereq JGIT to test-lib.sh