added quantity validation tests
everything but scopes tested