State test lookup