tests for new function added