Implementation of ComponentDescription and test

Test modified to work with Mock class.