All those tests should not be in a new file but rather in the existing GaussianProcessBinaryClassification_unittest.cc file, as its the same class you test. Just with different inference method, so the names of the tests can stay the same, but pls move them to the other file.