Added tests for patients list and patient data views