Fixed a bug where index ran over number of tests