Core: Add test for jQuery.ready.promise fallback load

Fix #13655
Close gh-1209
Ref 32b066d3805a48f8c8312562ed52a1b5910b1d85