Addition of spinlock unit test