Write tests for BotTask and ensure tha everything works