add tests for all quoting functions