Add test case for overloaded methods