Fix off-by-one error in badge tests
The tests should select the 1. and 2. badge from the badges list but was
using indexes 1 and 2 for accessing the badges array, so the test was
actually selecting the 2. and 3. badge from the list.
Change-Id: I6d458a7764402dc304197c26455ec483ddfabaac