getargs test, strip spaces from command