Fix mocking warning in LatentSVM unit test