These two testing utils assumed that they got an error, and checked its type; however, the most likely failure case is that there's no error (i.e., nil). In that case they would cause a NPE panic.
* library code will go in weave/nameserver/ * main.go for the server goes in weavedns/ with the containerising