worked on unittests.c