Added test of ignoring variable under sum.