Added a check for destination type being null
Added checking for difference in count of actual and expected arguments