add tests, fix packages