Add a functional test to check the addquote flow