misc bug fixes and new tests
bump version