makes getArgs parameter optional in runTests