test3.py: parses commandline args