[trac641] Fix unit test
This branch removed the shared pointer that the NSAS used to link to the resolver. As a result we now have to make sure that the resolver stays in existence while the NSAS is active. This commit fixes that problem in a unit test.
Showing with 10 additions and 7 deletions