Added unit tests and made new build in dist