test all kinds of APIs in Python