tests for hw4