add tests(full jacoco branch coverage).