Updated tests from sm.