Test cases for 'updating keySource' issue