Tests and http timeout

* Added another test that tests the time_max config variable;
* Found a silly error in default logger and fixed it, logging is not safe again;
* Made sure that the HTTP call to rollbar.com will timeout. Value is hardcoded to 5000ms.