Add unit test for getData
Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations
Fix unit test for getDestinations
Merge pull request #4796 from Snuffleupagus/get-destinations-empty-Names

Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations
Merge pull request #4795 from Snuffleupagus/getData-unittest

Add unit test for getData