fixed some erroneous tests