add tests for code and quote.