adding in unit tests for j2index