HUE-2231 [fb] Make current directory selectable

Updated unit test to look for correct index