Added tests for smo-core
Little build-time bug fix