Tests for capacity(), reserve(), and shrink_to_fit().