diff --git a/iTrust/test/edu/ncsu/csc/itrust/unit/action/ViewPreRegisteredPatientListActionTest.java b/iTrust/test/edu/ncsu/csc/itrust/unit/action/ViewPreRegisteredPatientListActionTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..3c12d87093acc3fc1d249d86a3c1ff3cd51070de
--- /dev/null
+++ b/iTrust/test/edu/ncsu/csc/itrust/unit/action/ViewPreRegisteredPatientListActionTest.java
@@ -0,0 +1,42 @@
+package edu.ncsu.csc.itrust.unit.action;
+
+import junit.framework.TestCase;
+import edu.ncsu.csc.itrust.action.ViewPersonnelAction;
+import edu.ncsu.csc.itrust.beans.PatientBean;
+import edu.ncsu.csc.itrust.dao.DAOFactory;
+import edu.ncsu.csc.itrust.exception.ITrustException;
+import edu.ncsu.csc.itrust.unit.datagenerators.TestDataGenerator;
+import edu.ncsu.csc.itrust.unit.testutils.TestDAOFactory;
+
+public class ViewPreRegisteredPatientListActionTest extends TestCase {
+
+	private DAOFactory factory = TestDAOFactory.getTestInstance();
+	private ViewPreRegisteredPatientListAction action;
+	private TestDataGenerator gen;
+
+	@Override
+	protected void setUp() throws Exception {
+		gen = new TestDataGenerator();
+		gen.clearAllTables();
+		gen.patient4();
+		gen.hcp3();
+	}
+
+    public void testViewPatients() throws Exception {
+        action = new ViewPreRegisteredPatientListAction(factory);
+        List<PatientBean> pb = action.getPreRegisteredPatients();
+        assertEquals(pb.get(0) == 4);
+    }
+
+	public void testNoPersonnel() throws Exception {
+		action = new ViewPreRegisteredPatientListAction(factory);
+        List<PatientBean> pb = action.getPreRegisteredPatients();
+        for (PatientBean p : pb) {
+            if (p.id() == "90000000") {
+                fail("This id should not exist in the list");
+            }
+        }
+
+		return;
+	}
+}
diff --git a/iTrust/test/edu/ncsu/csc/itrust/unit/dao/patient/ActivatePatientTest.java b/iTrust/test/edu/ncsu/csc/itrust/unit/dao/patient/ActivatePatientTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..ecb61d5cf516919a0b82d17e0070fad678f52c0c
--- /dev/null
+++ b/iTrust/test/edu/ncsu/csc/itrust/unit/dao/patient/ActivatePatientTest.java
@@ -0,0 +1,30 @@
+package edu.ncsu.csc.itrust.unit.dao.patient;
+
+import junit.framework.TestCase;
+import edu.ncsu.csc.itrust.beans.PatientBean;
+import edu.ncsu.csc.itrust.dao.mysql.PatientDAO;
+import edu.ncsu.csc.itrust.exception.ITrustException;
+import edu.ncsu.csc.itrust.unit.datagenerators.TestDataGenerator;
+import edu.ncsu.csc.itrust.unit.testutils.TestDAOFactory;
+
+public class ActivatePatientTest extends TestCase {
+	private TestDataGenerator gen = new TestDataGenerator();
+	private PatientDAO patientDAO = TestDAOFactory.getTestInstance().getPatientDAO();
+
+	@Override
+	protected void setUp() throws Exception {
+		gen.clearAllTables();
+	}
+
+	public void testAddEmptyPatient() throws Exception {
+		long pid = patientDAO.addEmptyPatient();
+		assertEquals(" ", patientDAO.getName(pid));
+	}
+
+	public void testActivateNewPatient() throws Exception {
+		long pid = patientDAO.addEmptyPatient();
+		assertEquals("PreRegisteredPatient", patientDAO.getRole(pid));
+		activatePatient(pid);
+		assertEquals("patient", patientDAO.getRole(pid));
+	}
+}
diff --git a/iTrust/test/edu/ncsu/csc/itrust/unit/dao/patient/GetRoleTest.java b/iTrust/test/edu/ncsu/csc/itrust/unit/dao/patient/GetRoleTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..dab95e6491c75615b11a7595cc871817621f4b45
--- /dev/null
+++ b/iTrust/test/edu/ncsu/csc/itrust/unit/dao/patient/GetRoleTest.java
@@ -0,0 +1,24 @@
+package edu.ncsu.csc.itrust.unit.dao.patient;
+
+import junit.framework.TestCase;
+import edu.ncsu.csc.itrust.dao.mysql.PatientDAO;
+import edu.ncsu.csc.itrust.unit.datagenerators.TestDataGenerator;
+import edu.ncsu.csc.itrust.unit.testutils.TestDAOFactory;
+
+public class GetRoleTest extends TestCase {
+	private PatientDAO patientDAO = TestDAOFactory.getTestInstance().getPatientDAO();
+	private TestDataGenerator gen;
+
+	@Override
+	protected void setUp() throws Exception {
+		gen = new TestDataGenerator();
+		gen.clearAllTables();
+		gen.patient2();
+	}
+
+	public void testGetRole() throws Exception {
+		String role = patientDAO.getRole(2);
+		assertEquals("PreRegisteredPatient", role);
+	}
+	
+}