test-backend: Refactor test-backend to be more pythonic.
test-backend: Refactor test-backend to be more pythonic.

rishig/zulip,eeshangarg/zulip,kou/zulip,rht/zulip,kou/zulip,tommyip/zulip,hackerkid/zulip,showell/zulip,shubhamdhama/zulip,shubhamdhama/zulip,timabbott/zulip,zulip/zulip,zulip/zulip,timabbott/zulip,punchagan/zulip,synicalsyntax/zulip,showell/zulip,andersk/zulip,rishig/zulip,brainwane/zulip,brainwane/zulip,shubhamdhama/zulip,rishig/zulip,synicalsyntax/zulip,timabbott/zulip,punchagan/zulip,andersk/zulip,punchagan/zulip,synicalsyntax/zulip,rht/zulip,hackerkid/zulip,rht/zulip,punchagan/zulip,timabbott/zulip,showell/zulip,eeshangarg/zulip,brainwane/zulip,kou/zulip,punchagan/zulip,shubhamdhama/zulip,shubhamdhama/zulip,hackerkid/zulip,rht/zulip,punchagan/zulip,synicalsyntax/zulip,shubhamdhama/zulip,rishig/zulip,kou/zulip,andersk/zulip,eeshangarg/zulip,hackerkid/zulip,showell/zulip,eeshangarg/zulip,tommyip/zulip,rht/zulip,synicalsyntax/zulip,zulip/zulip,zulip/zulip,brainwane/zulip,showell/zulip,brainwane/zulip,andersk/zulip,timabbott/zulip,andersk/zulip,tommyip/zulip,brainwane/zulip,tommyip/zulip,rishig/zulip,rht/zulip,rishig/zulip,tommyip/zulip,andersk/zulip,punchagan/zulip,zulip/zulip,showell/zulip,eeshangarg/zulip,timabbott/zulip,hackerkid/zulip,shubhamdhama/zulip,brainwane/zulip,zulip/zulip,kou/zulip,synicalsyntax/zulip,kou/zulip,andersk/zulip,tommyip/zulip,zulip/zulip,timabbott/zulip,hackerkid/zulip,showell/zulip,synicalsyntax/zulip,rishig/zulip,tommyip/zulip,eeshangarg/zulip,kou/zulip,hackerkid/zulip,rht/zulip,eeshangarg/zulip