diff --git tests/phpunit/testcases/blogs/functions.php tests/phpunit/testcases/blogs/functions.php
index b2ee4eb..b23974e 100644
--- tests/phpunit/testcases/blogs/functions.php
+++ tests/phpunit/testcases/blogs/functions.php
@@ -619,4 +619,27 @@ class BP_Tests_Blogs_Functions extends BP_UnitTestCase {
 
 		return ! empty( $a['activities'] );
 	}
+
+	/**
+	 * @group counts
+	 */
+	public function test_get_total_blog_count_zero_cache() {
+		if ( ! is_multisite() ) {
+			return;
+		}
+
+		global $wpdb;
+
+		// prime cache
+		// no blogs are created
+		bp_blogs_total_blogs();
+		$first_query = $wpdb->num_queries;
+
+		// check again
+		// see if we check the cached count or if we hit the DB
+		bp_blogs_total_blogs();
+		$second_query = $wpdb->num_queries;
+
+		$this->assertEquals( $first_query, $second_query );
+	}
 }
diff --git tests/phpunit/testcases/groups/functions.php tests/phpunit/testcases/groups/functions.php
index 6433349..e9109fb 100644
--- tests/phpunit/testcases/groups/functions.php
+++ tests/phpunit/testcases/groups/functions.php
@@ -647,4 +647,23 @@ Bar!';
 		groups_accept_invite( $u2, $g );
 		$this->assertEquals( 0, groups_get_invite_count_for_user( $u2 ) );
 	}
+
+	/**
+	 * @group counts
+	 */
+	public function test_get_total_group_count_zero_cache() {
+		global $wpdb;
+
+		// prime cache
+		// no groups are created
+		groups_get_total_group_count();
+		$first_query = $wpdb->num_queries;
+
+		// check again
+		// see if we check the cached count or if we hit the DB
+		groups_get_total_group_count();
+		$second_query = $wpdb->num_queries;
+
+		$this->assertEquals( $first_query, $second_query );
+	}
 }
diff --git tests/phpunit/testcases/members/functions.php tests/phpunit/testcases/members/functions.php
index 4ce1b28..ab2e9fb 100644
--- tests/phpunit/testcases/members/functions.php
+++ tests/phpunit/testcases/members/functions.php
@@ -445,4 +445,18 @@ class BP_Tests_Members_Functions extends BP_UnitTestCase {
 		global $wpdb;
 		return $wpdb->prefix . $key;
 	}
+
+	/**
+	 * @group bp_core_get_total_member_count
+	 * @group cache
+	 */
+	public function test_bp_core_get_total_member_count_should_respect_cached_value_of_0() {
+		global $wpdb;
+		wp_cache_set( 'bp_total_member_count', 0, 'bp' );
+
+		$num_queries = $wpdb->num_queries;
+
+		$this->assertEquals( 0, bp_core_get_total_member_count() );
+		$this->assertEquals( $num_queries, $wpdb->num_queries );
+	}
 }
