Added test coverage for sun component