Fix sum along axis of an array expression

Force the evaluation of the expression to an array.
Validated by a new test case, along a few others.
Merge pull request #212 from serge-sans-paille/numpy-test-cases

Fix sum along axis of an array expression