Converted PathAliasExistsTest to unit test.