Adding thread_yield() test