Port example program to unit test framework

Fixes a couple bugs in column construction, too.