finished adding tests for product index