added server tests for running as 'root' and 'splunk' users, also some minor style corrections based on some feedback from jtimberman