first pass at unit tests