fix #454 : handle 0 and null arguments
Add test for #456