Add a test for captured values being concatenated.