Updated test cases for public apis