Fixed assert in test/main.cpp (using a .data() from temporary string after it was destroyed).