more tests
Handle NULL as 0 on compare to long or double