FS-28: Added tests for the UserLocker.