modified 'selection' to 'picking', added many Jasmine tests for index picking functionality