`compose_test.js` needs new tests for this new functionality.