Added a functional test that verifies that two callables have the same argspec if one of them has an argument and the other has a varargs argument.