enhance resolvePath test.
additional documentation.