adds simple unit tests