ENH Added function to handle the validation of y with classes.
FIX Raise ValueError when y does not match with classes arg in pfit
PEP8 autopep8 fixes for the tests directory