adding totals Model method to Cart with test