Fixes handling of products that are out of stock
Adapts unit test data for testing out of stock products
Merge pull request #495 from nsendetzky/master

Fixes handling of products that are out of stock