Refactors forge.ui.bot.test

Necessary refactoring for upcoming forge ui wizard tests.