Added integration test for buying a product