HUE-2231 [fb] Updated unit test to look for correct index