Test multiple name resolutions