Add capability to test algorithms