fixes to Quote test