Adding new test script GenTestIdx.pl
Fixed test/samples, work on test script
Updates to test script