added some trivial unit tests because noobish