Tests for comparing estimated survival functions