Remove an enumerate call

Refactor tests/test_backend.py, remove a useless enumerate call in for
loop.

Change-Id: I1268ce70d40994078343ec3120021c131e52713d
Merge "Remove an enumerate call"