Added delay, changed test to index