Try this.
Instead of strParam = str_create("test"); use strParam = str_create("");
And insert this line:
str_cpy(strParam,"test");