fix some problems with erase detected after the test system was made to actually checks sizes. We can't reconstruct the correct type of 'a' for the case a(_, 1) = _(); which creates a container_ref, so an ugly hack is used for the time being.