return always the same return type
simplify test code
correcting test for ExpandSums[1, "result"]

We need to test if result == 1, not 1 == 1