test/nilptr: add more tests

These tests were suggested in golang.org/issue/6080.
They were fixed as part of the new nil pointer checks
that I added a few weeks ago.

Recording the tests as part of marking the issue closed.

Fixes issue 6080.

R=golang-dev, r, bradfitz
CC=golang-dev
https://codereview.appspot.com/13255049