unit tests for stdcol.c