hw2 tests