added tests for getCountForStatement, getCountForSql, getRowCountClosure