Moved test code from TitleScreen to TestScreen.