!fixup improve boolean conversion and add tests
!fixup Number conversion tests