test_jsgd