Fix EZP-21271: As a developer, I want a complete and accurate API doc of the JS REST Client
!squash
fixes to unit tests