Added test cases for default method invocation.