add testcase for ngx_snprintf