use VisitorException instead of IllegalStateException
add tests for BaselineBioentityCountsService