Finished Devise tests + Support for button_to + Support for empty content

* Added support for Rails button_to helper
* Handled the case when servers return an empty content.
* Finished writing tests for Devise.