fix tests + finish adding code links to components