Convert Diegel's samples to tests.