add test to verify null cast in boolean type