Added test for hw-2.