add regressiontest for resolving relative paths with .