midterm unit tests