made the code and output of the testing script more readable