unit test
apache license
small changes
unit tests