Tested Generation case class
Tidied code for AlgorithmComponentTest