added tests for syslog methods