QUnit test for Trac ticket #1238: Core unlocks unconditionally itself upon load/init