First test for SGD