Fixed broken test

Ensure the lock packages feature works as expected.