Index: tests/ms.php
===================================================================
--- tests/ms.php	(revision 1209)
+++ tests/ms.php	(working copy)
@@ -11,6 +11,23 @@
 
 	protected $plugin_hook_count = 0;
 
+	function test_is_user_spammy() {
+		$user_id = $this->factory->user->create( array(
+			'role' => 'author',
+			'user_login' => 'testuser1',
+		) );
+
+		$spam_username = (string) $user_id;
+		$spam_user_id = $this->factory->user->create( array(
+			'role' => 'author',
+			'user_login' => $spam_username,
+		) );
+		update_user_status( $spam_user_id, 'spam', '1' );
+		
+		$this->assertTrue( is_user_spammy( $spam_username ) );
+		$this->assertFalse( is_user_spammy( 'testuser1' ) );
+	}
+
 	function test_create_and_delete_blog() {
 		global $wpdb;
 
