ENH FIX Raise ValueError when the target does not match with classes
TST Added NRT to test if ValueError is raised during target mismatch