Added tests to the package.
Added a smart.json