removed some dead lines in tests