final lineending test