@ajpiano validated my concerns about using `$._data` here—I will update this PR with a patch to leverage spies and mocks rather than relying on a private jQuery API.