Added unit test for defaulted parameters