* unit test for new function