Primitive table tests (in _tmain) -PS

Will develop more extensive unit tests