Add install-check test cases for null handling
Fix a function overloading bug
Remove checking for NULL values in marginal.py_in and add install-check test cases for NULL checking