For the time being...
I was calling the showmessage() on creation of the main window. If it is moved to later, like on a button click or a signal, it works fine. If anyone has any ideas on why this is the case please advise, but for now it is working as expected as long as I wait for the mytest::mytest() to be created.

Thanks,
AlphaWolfXV