I'm not sure I understand what you are trying to do. Are you trying to build up a string in test? Because if so, continually copying into it with sscanf will just keep overwriting what you did before. You'd need to increment a counter with the offset into the string (i.e. so that you're copying into test + counter).
At any rate, I don't think it's meaningful to scan a string with a length of 0.1.
And also, sscanf isn't really the best way to copy a string. You'd probably be better off looking at strncpy and strcat, though I'm still not entirely sure what you're trying to do.