Update cursor to declaration cache on reparse.
Also added a test which furthermore shows that we can't find uses of declations from macro expansions.