corrected a few lines for the overall test