added tests for q.i where q is a sequence and i<0