Add some test tools to ease scenario writing

review11331002
Do not filter out inactive products from stock computation

issue4240
review12621002

--HG--
extra : rebase_source : 126dd860698557c74f75664cc35ee6a24f514bd3