Add python API Test example.