fixed test, added discontinuous Legendre