formatted the price
tested for functionality in with test controllers