Add unittest for SNL submit.