Add tests for non-interface nil pointers.

These tests are a slight adaptation of tests provided by
kortschak@ in issue #4.  Credits go to him.