test for hw4.