Modified run_games.py and text_ruuner.py, Added Tests