A monotone finite element method with test space of Legendre polynomials