Added tests for optional default parameters, and explicit test for non-optional parameters with defaults (which will not work in PHP < 5.3.17).