improve diagnostics on failure

I just rewrote the t/prefix.t such that it displays the content of @nslist when the test fails.

When I run the test often enough (about ten times or so), I see the test passing, and all of

# @nslist = ('dc')
# @nslist = ()
# @nslist = ('dc11')