add tests for 'source'