add shared examples for #index