Added a few extra tests related to the now implemented math expressions

This includes, assiging the output of a math expression. Using math in an
if statement. And a piece of invalid syntax that used to crash should now
just throw.