test cases for new functions