[testing] some test code for studying python

Signed-off-by: Shawn Bow <shawnbow@qq.com>