Fix small doubles test case
Use a raw unichar array for the output buffer