Cache test lookup results