Updated tests to enable lockedAttributes