testing jsgd