Add tests for addRestangularMethod(..., post/put/delete, ...);
Fix `addRestangularMethodFunction` to handle post/put/delete properly