Adding API call for selling a product, updating tests