basic setup for unit testing, and some sanity checking tests