Added discrete tests.