Name resolve test cached fallback

This was brought up in #734 -- I refactored some of the name resolve code tests to fall back on a set of cached SESAME responses if the remote data request fails.

@iguananaut @eteq