Added indexes to tim_test_inv table