fix erroneous test