Derp! Requiring Vertex as an implied global variable

- Now that we fixed that on the test, our mock Vertex
  object does not work inside the PathFinder object.
  We can simply pass that in or use the explicit global
  Vertex object inside exports.

- Fix fake Vertex object initialization function similar
  to real one.