Fixed the DB Initilization for the test classes.

Fixed the InpatientTest Class.

Added Delete for InpatientTest Class.