Added SuccessTest, a test based on a threshold, and some tests.
Exposed SuccessTest.edge.