add tests to exercise6