Test case with jQuery Migrate plugin