Fix EZP-21264: The JS REST client does not support parallel requests
!squash
 Test fixes and additional assertions