Add lookupNS function and an associated hspec test.

Add lookupNS function similar to the other lookup convenience functions.