sound buffer not working in xcode

I have extensively used the sound buffer to play my own recorded sounds in Codea. In Codea, it works great. However, in xcode I cannot generate my own sound buffer with strings.

I attached a small test program that demonstrates the problem. In Codea, you will hear a short noise-like sound. However, in xcode

    sb = soundbuffer(test,FORMAT_MONO16,300)

does not seem to work, I get the following message when I print sb:

Soundbuffer: format=0, frequency=0, size=0

When I run the program, it generates random sounds from the sound picker instead.

Does anybody have an idea what the problem could be? I hope to be able to use the sounds I created in a future app.

PS: I am very much looking forward to the new version of Codea 2.0 that is under review now and I am aware that it will have new sound features. Still, it would be nice if my previous work would not be lost and if I could use in xcode the sounds I have already coded.

function setup ()
    print("Hello World")
    sb = soundbuffer(test,FORMAT_MONO16,300)
    print(sb)
end

function draw ()
background(20,20,20)
end
function touched (touch)
    if touch.state == ENDED then
        sound(sb)
    end
end

test="" 
test = test .. "\\139\\137\\135\\131\\136\\135\\128\\128\\129" 
test = test .. "\\128\\126\\125\\124\\123\\126\\127\\126\\123\\121" 
test = test .. "\\125\\126\\124\\125\\126\\125\\122\\119\\119\\120" 
test = test .. "\\121\\119\\118\\120\\122\\123\\124\\125\\128\\129" 
test = test .. "\\131\\133\\133\\134\\135\\136\\137\\137\\136\\137" 
test = test .. "\\138\\136\\136\\136\\135\\132\\129\\128\\127\\124" 
test = test .. "\\123\\122\\121\\119\\118\\118\\118\\118\\118\\119" 
test = test .. "\\120\\122\\124\\125\\126\\128\\129\\131\\132\\133" 
test = test .. "\\134\\136\\137\\137\\137\\137\\135\\134\\134\\132" 
test = test .. "\\129\\128\\128\\126\\124\\124\\124\\122\\123\\124" 
test = test .. "\\123\\123\\125\\126\\124\\124\\126\\126\\126\\126" 
test = test .. "\\127\\128\\127\\127\\128\\128\\128\\128\\128\\128" 
test = test .. "\\128\\128\\128\\128\\128\\129\\129\\129\\129\\129" 
test = test .. "\\129\\128\\128\\128\\128\\128\\128\\128\\127\\127" 
test = test .. "\\127\\127\\127\\127\\127\\127\\127\\128\\128\\128" 
test = test .. "\\128\\128\\129\\129\\128\\129\\129\\129\\129\\129" 
test = test .. "\\129\\128\\128\\128\\128\\127\\126\\126\\125\\125"