Fixed the functional tests for path mapping.