Added unit test for the default method return type