usp10: Add ScriptTextOut functionality and restructure tests.