TEST: Jetpack Endpoints: Fix failing test.

Caused by the refactoring of plugins methods in
f23882b64f29db77014fbfbc68cd99eb950c72ad