Add support for index joins
Add unit tests for index joins