add some unit tests for dividend