Fixed bugs with AssignedMedicaments
Changed tests in TestConsole