CastExpression: TDD commits for #626

See #626
CastExpression: allow self-cast

Just return the child, untouched.

Fix #626
Merge pull request #627 from uwescience/fix-626

Fix #626