Convergence of many-body wave-function expansions using a plane-wave basis: From homogeneous electron gas to solid state systems