Also fix destination path for generated tests And add a case for spread operator in the arguments before a trailing comma