Added test coverage and refactored VertexScanJob so that graph injection is possible since that is frequently needed.
Added test for VertexScanJob plus debugging.