API TC Checkin

Added 3 TC and refactor code added comments for utility.