Add unit-test.