updated protocol tests for py33