finalize source-map-support and add a test for it; expose internal functions with _-prefix to tests