Added proper remote tests + refacto remote custom error messages.

I've review & corrected your commit and squashed them to be more readable in git history log.

Here what I expected for tests: simulate responses with server side error messages and expecting them front.

Please @comensee review this PR and if ok to what you expected I'll merge it.

Best