This behavior is not related to this pull request.
Look at: expect(qs.getVal('0')).toBe('val1');