partial fixes for deb version parsing, and more tests