Lviv tests safety systems as war fears grow