lineending test