Add memset function in test.c