Bugfixes and gem updates

* Fix a bug where content was set to non-existing certificate
* Update ActiveModel and minitest gems
* Fix a bug where ROOT_PATH was referencing the current working directory