Integration test to test different scenarios. Removing classes not required anymore. Refactored EncounterRepository