add tests to exercise2