Add demo test cases for API heads based on the testng.