Fix for allowing excess parameters on internal functions with default values + test
Add explicit test for allowing excessive arguments on internal functions