Adding bot.dart analyzer tasks
Add tests and fixed future issue.