Add some tests for resolvePath

Skip absolute paths, since those are broken
add imports to resolvePath testing
adapt to new mdv api.
Merge branch 'master' into real-imports