added unit tests to public repo