fix argument parsing (uptime and name got mixed up) and add a test
Merge pull request #42 from frisi/uptime-fix

fix argument parsing (uptime and name got mixed up) and add a test