Initial quote support and unfinished tests

Work in progress. PR request in issues/208