Added unitest
Added check cron pattern
Added base url config