Allow multiple input feature with the same value for gaussian processes

Fix for issue #3162. Allows to have multiple input feature with the same values for Gaussian Processes 
Why the change from test_ to check? I am curious