Test a lookup in spec