Ran tests and added python formatting script