add some simple unit tests