Fix EZP-21199: Finish unit tests coverage for js REST Client
All remaining files are covered. 100% Coverage.