Adds generator index unit tests