Working on test_sma.