add tests and prep for packaging