tested cost getter in myBag via Mutable Array.