fixing erroneous tests