WIP: refactored setSource + expanded config coverage