Fix bug in .waldTest where contrCov was losing its dimensions