SM unit tests added