Added some basic test cases for panic based locks