Add unistd.h include for usleep in unit tests.