Added basic JSX completion tests (and fixes).