Created some implementations for the TrainingMethod abstract class.
Moved test to the TrainingMethod abstract class.