Add controller tests
Change logging handlers to use the syslog