Fix opts test lookup