refactoring quote: get_quote_objects, tests