Created unit-tests for CountByIdBuilder and CountBuilder