Add tests for quote helper.