The missing Component.php tests
Changed Exception wording to be more clear
Merge pull request #2374 from mintao/master

Some missing base unit tests