- Added unit tests.
- Moved tests directory to samples.
- Added some shell scripts.