Fix for calledWith() bug #456