Created tests dialog and refactored tests into the new module