Implemented calling methods with default parameters and wrote a test for it.