Added mutex and spinlock tests