add new tests for named argument. fix for wrong argument index