SMA Test Class
SMA Implementation and Example