Unit testing for view patient Emr