Fixed the quotation test so that both cases work. My helper functions are in serious need of an overhaul.