Test hw3 and hw4