Adding unit tests for boolean casting.