added test when_spin_lock_for_short_time.c