added tests for hw2p2