Test code for Twitter application-only authentication in Python.