made some simple unit tests