test cbegin and cend