Implement createConsumption method and add test for it