fix clean_args call for tests