Fix allDocs call, delint
Mock fixtures in stock count spec, closes item:703