Create Test class.
Moved function from Main.hx to Text.hx.