Add tests for absolute symlinks.

Fixes resolution of absolute symlinks and adds tests for it.