Added a test to see if the number of src and destination is equal