Added unit tests for all components.