STS-3930 Fix & test

For generic methods with default parameter values type variables and parameter arguments should be the same as it is for all other methods.