Part2 : add tests.