License and copyright
More unit tests
Better checks and tests