Added tests for locking features