Added tests for the default lock mode functionality.