ENH: improve csd shapes tests