Update test.c for Newlib