Add test for destroying zero-length vector.