Implement receiving from multiple sources. Also modify the tests for this.