Merge pull request #15 from bguerin/master

Allow server parameter to be an array or a string
Adding unit test for cron runmode