Made some changes about the adaptiveSRG class and add the test of the ad...

...aptivesrgtest.py