Improves

Changing return type of POST and PUT methods.
Fixing tests.

Please, check it.