Added basic unittests for SMaSH