Prepend the root path on the already_absolute testcase, and construct a path ending with the preferred separator for the test reference for "foo/".
Additionally, the "" case fails both on MS STL and libstdc++, where it returns an empty string (and libstdc++ sets the error code). Unsure what to do with that one - make it libcpp specific, or consider the other implementations being wrong in thas aspect?