Add tests to cover quickstart guide.
Fix mistakes in quickstart document.