Added more tests for snprintf.