Change test index() method to reflect changes.