added quantity tests