Fix tests coverage for jacoco with powermock.