Fixed #1125 call the Model constructor when initializing its subclasses in test_sgd.py

There are still many deprecation warning when running this test. I'm going to fix them.