first pass at unit testing. Primary data types only