Added but it fails. Here is the problem: enterDocument never gets called in the testing environment. How should I deal with it?