Added test for #1420: overload tests