Copied connections added and written a test for.

Taken care of handling multiple ExternalSources. Added more debug
logging.