add pthread_yield() instead of usleep() before tests start

Signed-off-by: Steven Noonan <steven@uplinklabs.net>