Test on formatted strings
Added test for logging from the server
Added error logging test
Added log_error() implementation