<?php
class ContactFormTest extends CDbTestCase
{
	public $model;

	public function setUp()
	{
		parent::setUp();
		$this->model = new ContactForm;
	}

	public function testAttributeLabels()
	{
		$expected = array(
			'verifyCode'=>'Verification Code',
		);

		$this->assertEquals($expected, $this->model->attributeLabels(), 'Attribute labels should match.');
	}
}

<?php
/**
 * Created by JetBrains PhpStorm.
 * User: shanthi
 * Date: 07/09/2011
 * Time: 11:45
 * To change this template use File | Settings | File Templates.
 */


--- 
+++ 
@@ -1,9 +1,20 @@
 <?php
-/**
- * Created by JetBrains PhpStorm.
- * User: shanthi
- * Date: 07/09/2011
- * Time: 11:45
- * To change this template use File | Settings | File Templates.
- */
+class ContactFormTest extends CDbTestCase
+{
+	public $model;
 
+	public function setUp()
+	{
+		parent::setUp();
+		$this->model = new ContactForm;
+	}
+
+	public function testAttributeLabels()
+	{
+		$expected = array(
+			'verifyCode'=>'Verification Code',
+		);
+
+		$this->assertEquals($expected, $this->model->attributeLabels(), 'Attribute labels should match.');
+	}
+}
Add tests for ContactForm model (OE-37)
