test for arg parsing