added simple unit test