Added unit tests for app components.