Modified @Named -> @Component.
Bug fixed & added test case for model(business logic).