Merge pull request #632 from tiagobrito/master

Add test to verify null cast in boolean type