added test file for hw4 from the instructor